/*
RippleVoiceIntegratedTest.createVoice
RippleVoiceIntegratedTest.testDisplayGui
RippleVoiceIntegratedTest.testPlay
RippleVoiceIntegratedTest.dumpControlValues
RippleVoiceIntegratedTest.testSerialize;
p = RippleVoiceIntegratedTest.testGetPan
*/


RippleVoiceIntegratedTest{

	classvar voice, presetPath, player, gui, pulser, controls, preset, factory, synthType;

	*createVoice{
	
		//synthType = \rippleDisto;
		
		synthType = RippleLongPulse;
		
		
		presetPath = "sounds/samples/strings2.aif";
	
		voice = RippleVoiceFactory.buildVoice(presetPath, synthType);
		voice.setParent(this);
	}
	
	*soundPlayed{
	
	}
	
	*dumpControlValues{
		controls.getAsArgsArray.postln;
	}
	
	*testSerialize{
		voice.serialize.post;
	}
	
	
	*testDisplayGui{
		voice.displayGui;	
	}
	
	*testPlay{
		voice.play;
	}
	
	*testSetValue{
		//set a control value
		// then retrieve it 
	}
	*testGetPan{
		voice.getControlValue(\pan).postln;
		voice.getControlsAsArgsArray.postln;
	}

}